package com.chf.job.dao;

import com.chf.job.pojo.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompanyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);

    Company getByEmail(String email);

    int addCompanyIntroduce(@Param("detailIntduction") String detailIntduction, @Param("email") String email);

    List<Company> getByCompanyName(String positName);
}